home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-06-08 | 1.2 KB | 60 lines | [TEXT/MPCC] |
- // Quickdraw 3D sample code
- //
- // Nick Thompson, AppleLink: DEVSUPPORT (devsupport@applelink.apple.com)
- //
- // ©1994-5 Apple Computer Inc., All Rights Reserved
-
- #ifndef _SMALLSHELL_H_
- #define _SMALLSHELL_H_
-
-
- //-------------------------------------------------------------------------------------------
- //
- enum {
- mApple = 128,
- mFile,
- mEdit,
- mTest
- } ;
-
- enum {
- iAbout = 1
- } ;
-
- enum {
- iNew = 1,
- iOpen,
- iClose,
- iUnused1,
- iQuit
- } ;
-
- //-------------------------------------------------------------------------------------------
- //
- enum {
- iUsePictPalette = 1
- } ;
-
- //-------------------------------------------------------------------------------------------
- // globals - defined in SmallShell.c
- extern Boolean gQuitFlag ;
-
-
- //-------------------------------------------------------------------------------------------
- // constants - defined in SmallShell.c
- extern const RGBColor kRGBBlack ;
- extern const RGBColor kRGBWhite ;
-
- // function prototypes
-
-
- WindowPtr DoCreateBufferedWindow( Rect *theRect,
- const Ptr theStorage,
- const CTabHandle theWindowCTab,
- const short theDepth,
- const Str255 theTitle ) ;
- short HiWrd(long aLong) ;
- short LoWrd(long aLong) ;
-
-
- #endif